package com.dwb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * @author 懒猴子CG
 * @date 2020-06-28 19:36:11
 * @email 
 */
@Data
@ApiModel("用户地址")
public class SUserAddress {

    @ApiModelProperty(value = "站点id")
    @Id
    private Integer id;

    @ApiModelProperty(value = "站点所属用户id")
    private Integer userId;

    @ApiModelProperty(value = "别名")
    private String alias;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "电话")
    private String tel;

    @ApiModelProperty(value = "所在省")
    private Integer province;

    @ApiModelProperty(value = "所在市")
    private Integer city;

    @ApiModelProperty(value = "所在县/区")
    private Integer county;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private BigDecimal lng;

    @ApiModelProperty(value = "纬度")
    private BigDecimal lat;

    @ApiModelProperty(value = "是否默认地址（0否,1是）")
    private Boolean isDefault;

    @ApiModelProperty(value = "是否删除（0否，1删除时间戳）")
    private Integer isDeleteTime;

    @ApiModelProperty(value = "添加时间")
    private Integer addTime;

    @ApiModelProperty(value = "更新时间")
    private Integer updTime;

}